<?php
if (!defined('ZAZA')) exit('No direct script access allowed');
/**
 * @copyright     ZaZa Group
 * @author        Sir Doan
 */

class Ajax_Manager 
{
    function __construct()
    {

    }
    // Method Submit form
    function is_submit()
    {
     
    }
    // Method Draw
    function draw()
    { 	        
    	$path = Obj()->get('path');
    	$function = Obj()->get('fnc');
    	if (file_exists ( 'ajax/' . $path . '/' . $function . '.php' )) 
    	{
			require_once 'ajax/' . $path . '/' . $function . '.php';
    	}
    	else 
    	{
    		echo 'Function not found!';  
    	}
    }
} 
?>